63 Star 516 Fork 154

GVPFire Framework / fire

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pom.xml 42.12 KB
一键复制 编辑 原始数据 按行查看 历史
wangcl6 提交于 2024-05-09 13:56 . [fire-1163][snapshot] v2.5.0-SNAPSHOT
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one or more
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~ The ASF licenses this file to You under the Apache License, Version 2.0
~ (the "License"); you may not use this file except in compliance with
~ the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.zto.fire</groupId>
<artifactId>fire-parent</artifactId>
<packaging>pom</packaging>
<version>2.5.0-SNAPSHOT</version>
<name>Fire : </name>
<description>Fire framework is a development framework for real-time computing task development . The framework provides a simple and easy to use API that can significantly reduce the development threshold of Spark and Flink and improve development efficiency.</description>
<url>https://github.com/fire-framework/fire</url>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<developers>
<developer>
<name>longyin319</name>
<email>longyin319@foxmail.com</email>
<organization>fire-framework</organization>
<organizationUrl>https://github.com/fire-framework/fire</organizationUrl>
</developer>
<developer>
<name>u2huangzhijun</name>
<email>u2huangzhijun@163.com</email>
<organization>fire-framework</organization>
<organizationUrl>https://gitee.com/fire-framework/fire</organizationUrl>
</developer>
</developers>
<scm>
<url>https://github.com/fire-framework/fire</url>
<connection>scm:git:https://github.com/fire-framework/fire.git</connection>
<developerConnection>scm:git:https://github.com/fire-framework/fire.git</developerConnection>
<tag>HEAD</tag>
</scm>
<properties>
<fire.version>${project.version}</fire.version>
<hudi.version>0.9.0</hudi.version>
<hudi.major.version>0.9</hudi.major.version>
<hudi.bundle.version>3</hudi.bundle.version>
<commons-lang.version>2.5</commons-lang.version>
<clickhouse-jdbc.version>0.3.1</clickhouse-jdbc.version>
<maven.scope>provided</maven.scope>
<kafka.version>0.11.0.2</kafka.version>
<sparkjava.version>2.8.0</sparkjava.version>
<hadoop.version>2.6.0</hadoop.version>
<hive.apache.version>1.1.0</hive.apache.version>
<hive.flink.version>1.2.1</hive.flink.version>
<hive.version>1.1.0</hive.version>
<hive.group>org.apache.hive</hive.group>
<commonsio.version>2.11.0</commonsio.version>
<commons-lang3.version>3.5</commons-lang3.version>
<log4j.version>1.2.17</log4j.version>
<kryo.version>4.0.0</kryo.version>
<hbase.version>1.2.0</hbase.version>
<quartz.version>2.3.1</quartz.version>
<oshi.version>3.12.2</oshi.version>
<impala.jdbc.version>2.5.30</impala.jdbc.version>
<junit.version>4.13.2</junit.version>
<rocketmq.version>4.8.0</rocketmq.version>
<mysql.version>5.1.49</mysql.version>
<guava.version>15.0</guava.version>
<curator.verrsion>2.6.0</curator.verrsion>
<arthas.version>3.5.4</arthas.version>
<calcite.version>1.26.0</calcite.version>
<netty.version>4.1.17.Final</netty.version>
<aspectj.version>1.9.7</aspectj.version>
<httpclient.version>3.1</httpclient.version>
<c3p0.version>0.9.1.2</c3p0.version>
<derby.version>10.13.1.1</derby.version>
<jsqlparser.version>4.5</jsqlparser.version>
<htrace.version>3.2.0-incubating</htrace.version>
<build.dest>pub</build.dest>
<httpcomponents.version>4.3.3</httpcomponents.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<rocketmq.schema.registry.version>0.1.0</rocketmq.schema.registry.version>
<contains.scala.binary.version>_${scala.binary.version}</contains.scala.binary.version>
<scala.version>${scala.binary.version}.${scala.minor.version}</scala.version>
<spark.reference>${spark.major.version}_${scala.binary.version}</spark.reference>
<flink.reference>${flink.major.version}_${scala.binary.version}</flink.reference>
</properties>
<modules>
<module>fire-common</module>
<module>fire-core</module>
<module>fire-connectors</module>
<module>fire-engines</module>
<module>fire-enhance</module>
<module>fire-bundle</module>
</modules>
<profiles>
<!-- 发布jar包到maven中央仓库 -->
<profile>
<id>deploy-ossrh-repo</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<failOnError>false</failOnError>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
</plugins>
</build>
<distributionManagement>
<snapshotRepository>
<id>repo-ossrh-snapshot</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>repo-ossrh-rc</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</profile>
<!-- 发布jar包到zto私服 -->
<profile>
<id>deploy-zto-repo</id>
<distributionManagement>
<repository>
<id>repo-zto-rc</id>
<name>libs-release</name>
<url>https://jfrog.dev.ztosys.com/artifactory/libs-release/</url>
</repository>
<snapshotRepository>
<id>repo-zto-snapshot</id>
<name>libs-snapshot</name>
<url>https://jfrog.dev.ztosys.com/artifactory/libs-snapshot/</url>
</snapshotRepository>
</distributionManagement>
</profile>
<!-- 本地运行需启用该profile,否则会报某些类找不到异常。集群模式请禁用,否则包非常大,依赖冲突风险倍增 -->
<profile>
<id>run-local</id>
<properties>
<maven.scope>compile</maven.scope>
</properties>
</profile>
<!-- Configure whether to build the fire-examples module. -->
<profile>
<id>build-examples</id>
<modules>
<module>fire-examples</module>
</modules>
</profile>
<!-- Configure whether to build the fire-shell module. -->
<profile>
<id>build-shell</id>
<modules>
<module>fire-shell</module>
</modules>
</profile>
<!-- scala profile -->
<profile>
<id>scala-2.11</id>
<properties>
<scala.binary.version>2.11</scala.binary.version>
<scala.exclusion.version>2.12</scala.exclusion.version>
<scala.minor.version>8</scala.minor.version>
</properties>
</profile>
<profile>
<id>scala-2.12</id>
<properties>
<scala.binary.version>2.12</scala.binary.version>
<scala.exclusion.version>2.11</scala.exclusion.version>
<scala.minor.version>13</scala.minor.version>
</properties>
</profile>
<profile>
<id>scala-2.13</id>
<properties>
<scala.binary.version>2.13</scala.binary.version>
<scala.minor.version>10</scala.minor.version>
</properties>
</profile>
<!-- spark profile -->
<profile>
<id>spark-2.3</id>
<properties>
<spark.version>2.3.2</spark.version>
<spark.major.version>2.3</spark.major.version>
<jackson.version>2.6.7</jackson.version>
<hudi.bundle.version></hudi.bundle.version>
</properties>
<dependencies>
<!-- Hudi相关依赖 -->
<dependency>
<groupId>org.apache.hudi</groupId>
<artifactId>hudi-spark${hudi.bundle.version}-bundle_${scala.binary.version}</artifactId>
<version>${hudi.version}</version>
<scope>${maven.scope}</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>spark-2.4</id>
<properties>
<spark.version>2.4.8</spark.version>
<spark.major.version>2.4</spark.major.version>
<jackson.version>2.6.7.1</jackson.version>
<hudi.bundle.version></hudi.bundle.version>
</properties>
<dependencies>
<!-- Hudi相关依赖 -->
<dependency>
<groupId>org.apache.hudi</groupId>
<artifactId>hudi-spark${hudi.bundle.version}-bundle_${scala.binary.version}</artifactId>
<version>${hudi.version}</version>
<scope>${maven.scope}</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>spark-3.0</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<spark.version>3.0.2</spark.version>
<spark.major.version>3.0</spark.major.version>
<jackson.version>2.10.5</jackson.version>
<hudi.bundle.version>3</hudi.bundle.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-avro_${scala.binary.version}</artifactId>
<version>${spark.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<!-- Hudi相关依赖 -->
<dependency>
<groupId>org.apache.hudi</groupId>
<artifactId>hudi-spark${hudi.bundle.version}-bundle_${scala.binary.version}</artifactId>
<version>${hudi.version}</version>
<scope>${maven.scope}</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>spark-3.1</id>
<properties>
<spark.version>3.1.3</spark.version>
<spark.major.version>3.1</spark.major.version>
<jackson.version>2.10.5</jackson.version>
<hudi.bundle.version>3</hudi.bundle.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-avro_${scala.binary.version}</artifactId>
<version>${spark.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<!-- Hudi相关依赖 -->
<dependency>
<groupId>org.apache.hudi</groupId>
<artifactId>hudi-spark${hudi.bundle.version}-bundle_${scala.binary.version}</artifactId>
<version>${hudi.version}</version>
<scope>${maven.scope}</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>spark-3.2</id>
<properties>
<spark.version>3.2.3</spark.version>
<spark.major.version>3.2</spark.major.version>
<jackson.version>2.10.5</jackson.version>
<hudi.bundle.version>3</hudi.bundle.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-avro_${scala.binary.version}</artifactId>
<version>${spark.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<!-- Hudi相关依赖 -->
<dependency>
<groupId>org.apache.hudi</groupId>
<artifactId>hudi-spark${hudi.bundle.version}-bundle_${scala.binary.version}</artifactId>
<version>${hudi.version}</version>
<scope>${maven.scope}</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>spark-3.3</id>
<properties>
<spark.version>3.3.2</spark.version>
<spark.major.version>3.3</spark.major.version>
<jackson.version>2.10.5</jackson.version>
<hudi.bundle.version>3</hudi.bundle.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-avro_${scala.binary.version}</artifactId>
<version>${spark.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<!-- Hudi相关依赖 -->
<dependency>
<groupId>org.apache.hudi</groupId>
<artifactId>hudi-spark${hudi.bundle.version}-bundle_${scala.binary.version}</artifactId>
<version>${hudi.version}</version>
<scope>${maven.scope}</scope>
</dependency>
</dependencies>
</profile>
<!-- 以hadoop2.7、hive1.2低版本编译 -->
<profile>
<id>hadoop-2.7</id>
<properties>
<hive.group>org.spark-project.hive</hive.group>
<hive.version>1.2.1.spark2</hive.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-hive_${scala.binary.version}</artifactId>
<version>${spark.version}</version>
<scope>${maven.scope}</scope>
<exclusions>
<exclusion>
<groupId>org.apache.hive</groupId>
<artifactId>hive-common</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.hive</groupId>
<artifactId>hive-exec</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.hive</groupId>
<artifactId>hive-metastore</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.hive</groupId>
<artifactId>hive-serde</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.hive</groupId>
<artifactId>hive-shims</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.calcite</groupId>
<artifactId>calcite-core</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-hive-thriftserver_${scala.binary.version}</artifactId>
<version>${spark.version}</version>
<scope>${maven.scope}</scope>
<exclusions>
<exclusion>
<groupId>org.apache.hive</groupId>
<artifactId>hive-cli</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.hive</groupId>
<artifactId>hive-jdbc</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.hive</groupId>
<artifactId>hive-beeline</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>${hive.group}</groupId>
<artifactId>hive-cli</artifactId>
<version>${hive.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>${hive.group}</groupId>
<artifactId>hive-jdbc</artifactId>
<version>${hive.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>${hive.group}</groupId>
<artifactId>hive-beeline</artifactId>
<version>${hive.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>${hive.group}</groupId>
<artifactId>hive-common</artifactId>
<version>${hive.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>${hive.group}</groupId>
<artifactId>hive-metastore</artifactId>
<version>${hive.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>${hive.group}</groupId>
<artifactId>hive-exec</artifactId>
<version>${hive.version}</version>
<scope>${maven.scope}</scope>
<exclusions>
<exclusion>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.spark</groupId>
<artifactId>spark-core_2.10</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.calcite</groupId>
<artifactId>calcite-core</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</profile>
<profile>
<id>hadoop-3.2</id>
<properties>
<hadoop.version>3.2.0</hadoop.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-hive_${scala.binary.version}</artifactId>
<version>${spark.version}</version>
<scope>${maven.scope}</scope>
</dependency>
</dependencies>
</profile>
<!-- flink profile -->
<profile>
<id>flink-1.12</id>
<properties>
<flink.version>1.12.2</flink.version>
<flink.major.version>1.12</flink.major.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-table-planner-blink_${scala.binary.version}</artifactId>
<version>${flink.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-queryable-state-runtime_${scala.binary.version}</artifactId>
<version>${flink.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-runtime_${scala.binary.version}</artifactId>
<version>${flink.version}</version>
<scope>${maven.scope}</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>flink-1.13</id>
<properties>
<flink.version>1.13.0</flink.version>
<flink.major.version>1.13</flink.major.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-table-planner-blink_${scala.binary.version}</artifactId>
<version>${flink.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-queryable-state-runtime_${scala.binary.version}</artifactId>
<version>${flink.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-runtime_${scala.binary.version}</artifactId>
<version>${flink.version}</version>
<scope>${maven.scope}</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>flink-1.14</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<flink.version>1.14.3</flink.version>
<flink.major.version>1.14</flink.major.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-table-planner_${scala.binary.version}</artifactId>
<version>${flink.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-queryable-state-runtime</artifactId>
<version>${flink.version}</version>
<scope>${maven.scope}</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>flink-1.15</id>
<properties>
<flink.version>1.15.3</flink.version>
<flink.major.version>1.15</flink.major.version>
<contains.scala.binary.version></contains.scala.binary.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-table-planner_${scala.binary.version}</artifactId>
<version>${flink.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-queryable-state-runtime</artifactId>
<version>${flink.version}</version>
<scope>${maven.scope}</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>flink-1.16</id>
<properties>
<flink.version>1.16.1</flink.version>
<flink.major.version>1.16</flink.major.version>
<contains.scala.binary.version></contains.scala.binary.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-table-planner_${scala.binary.version}</artifactId>
<version>${flink.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-queryable-state-runtime</artifactId>
<version>${flink.version}</version>
<scope>${maven.scope}</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>hudi-0.8</id>
<properties>
<hudi.version>0.8.0</hudi.version>
<hudi.major.version>0.8</hudi.major.version>
</properties>
</profile>
<profile>
<id>hudi-0.9</id>
<properties>
<hudi.version>0.9.0</hudi.version>
<hudi.major.version>0.9</hudi.major.version>
</properties>
</profile>
<profile>
<id>hudi-0.10</id>
<properties>
<hudi.version>0.10.1</hudi.version>
<hudi.major.version>0.10</hudi.major.version>
</properties>
</profile>
<profile>
<id>hudi-0.13</id>
<properties>
<hudi.version>0.13.0</hudi.version>
<hudi.major.version>0.13</hudi.major.version>
</properties>
</profile>
<profile>
<id>hudi-1.0.0</id>
<properties>
<hudi.version>1.0.0-beta1</hudi.version>
<hudi.major.version>1.0</hudi.major.version>
</properties>
</profile>
<!-- include zto env -->
<profile>
<id>zto-env</id>
<properties>
<build.dest>zto</build.dest>
</properties>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<dependencies>
<!-- 中通内部集群环境依赖,编译报错可直接注释掉,不影响开源社区使用 -->
<dependency>
<groupId>com.zto.bigdata</groupId>
<artifactId>cluster-env</artifactId>
<version>1.0.4-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>conf-test.properties</include>
</includes>
</resource>
</resources>
</build>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>${scala.version}</version>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-compiler</artifactId>
<version>${scala.version}</version>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-reflect</artifactId>
<version>${scala.version}</version>
</dependency>
<!-- 第三方库相关依赖 -->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commonsio.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${commons-lang3.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>${log4j.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>com.esotericsoftware</groupId>
<artifactId>kryo</artifactId>
<version>${kryo.version}</version>
<scope>${maven.scope}</scope>
</dependency>
<dependency>
<groupId>com.sparkjava</groupId>
<artifactId>spark-core</artifactId>
<version>${sparkjava.version}</version>
</dependency>
<dependency>
<groupId>org.quartz-scheduler</groupId>
<artifactId>quartz</artifactId>
<version>${quartz.version}</version>
</dependency>
<dependency>
<groupId>com.github.oshi</groupId>
<artifactId>oshi-core</artifactId>
<version>${oshi.version}</version>
<scope>${maven.scope}</scope>
</dependency>
</dependencies>
<repositories>
<repository>
<id>cloudera</id>
<url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>aliyun</id>
<url>https://maven.aliyun.com/repository/central</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>central</id>
<url>https://mirrors.huaweicloud.com/repository/maven/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>cloudera</id>
<url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>aliyun</id>
<url>https://maven.aliyun.com/repository/central</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>central</id>
<url>https://mirrors.huaweicloud.com/repository/maven/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>repo-ossrh-rc</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>false</autoReleaseAfterClose>
</configuration>
</plugin>
<!-- ensure that we use JDK 1.6 -->
<plugin>
<inherited>true</inherited>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.scala-tools</groupId>
<artifactId>maven-scala-plugin</artifactId>
<version>2.15.2</version>
<executions>
<!-- Run scala compiler in the process-resources phase, so that dependencies
on scala classes can be resolved later in the (Java) compile phase -->
<execution>
<id>scala-compile-first</id>
<phase>process-resources</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
<!-- Run scala compiler in the process-test-resources phase, so that
dependencies on scala classes can be resolved later in the (Java) test-compile
phase -->
<execution>
<id>scala-test-compile</id>
<phase>process-test-resources</phase>
<goals>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<!-- Add src/main/scala to source path of Eclipse -->
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>src/main/java</source>
<source>src/main/scala</source>
<source>src/main/scala-${build.dest}</source>
<source>src/main/java-spark-${spark.major.version}</source>
<source>src/main/scala-spark-${spark.major.version}</source>
<source>src/main/java-flink-${flink.major.version}</source>
<source>src/main/scala-flink-${flink.major.version}</source>
<source>src/main/java-hudi-${hudi.major.version}</source>
<source>src/main/scala-hudi-${hudi.major.version}</source>
</sources>
</configuration>
</execution>
<!-- Add src/test/scala to test source path of Eclipse -->
<execution>
<id>add-test-source</id>
<phase>generate-test-sources</phase>
<goals>
<goal>add-test-source</goal>
</goals>
<configuration>
<sources>
<source>src/test/java</source>
<source>src/test/scala</source>
<source>src/main/scala-${build.dest}</source>
<source>src/test/java-spark-${spark.major.version}</source>
<source>src/test/scala-spark-${spark.major.version}</source>
<source>src/test/java-flink-${flink.major.version}</source>
<source>src/test/scala-flink-${flink.major.version}</source>
<source>src/main/java-hudi-${hudi.major.version}</source>
<source>src/main/scala-hudi-${hudi.major.version}</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<!-- to generate Eclipse artifacts for projects mixing Scala and Java -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.10</version>
<configuration>
<downloadSources>true</downloadSources>
<downloadJavadocs>true</downloadJavadocs>
<projectnatures>
<projectnature>org.scala-ide.sdt.core.scalanature</projectnature>
<projectnature>org.eclipse.jdt.core.javanature</projectnature>
</projectnatures>
<buildcommands>
<buildcommand>org.scala-ide.sdt.core.scalabuilder</buildcommand>
</buildcommands>
<classpathContainers>
<classpathContainer>org.scala-ide.sdt.launching.SCALA_CONTAINER</classpathContainer>
<classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer>
</classpathContainers>
<excludes>
<!-- in Eclipse, use scala-library, scala-compiler from the SCALA_CONTAINER
rather than POM <dependency> -->
<exclude>org.scala-lang:scala-library</exclude>
<exclude>org.scala-lang:scala-compiler</exclude>
</excludes>
<sourceIncludes>
<sourceInclude>**/*.scala</sourceInclude>
<sourceInclude>**/*.java</sourceInclude>
</sourceIncludes>
</configuration>
</plugin>
<!-- When run tests in the test phase, include .java and .scala source
files -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>
<configuration>
<includes>
<include>**/*.java</include>
<include>**/*.scala</include>
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.2</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
<configuration>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
<transformers combine.children="append">
<transformer
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer">
</transformer>
</transformers>
<finalName>zto-${project.artifactId}-${project.version}</finalName>
</configuration>
</plugin>
</plugins>
</build>
</project>
Scala
1
https://gitee.com/fire-framework/fire.git
git@gitee.com:fire-framework/fire.git
fire-framework
fire
fire
master

搜索帮助